package com.qfedu.so.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 千锋Java,为你而生！
 *
 * @Author: Feri
 * @Date:2024/11/15 09:00
 * @Modified:
 */
@FeignClient(value = "xingaccount")
public interface AccountService {
    @GetMapping("server/accountTbl/querymoney")
    Integer queryMoney(@RequestParam("uid") Integer uid);

    @GetMapping("server/accountTbl/updatemoney")
    Integer updateMoney(@RequestParam("uid") Integer uid,@RequestParam("money") Integer money);
}
